package com.football.springboot.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 李越
 * @since 2023-03-03
 */
@Data
@TableName("player_data")
@ApiModel(value = "PlayerData对象", description = "")
public class PlayerData implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("球员赛季出场次数")
    private Integer gamesPlayed;

    @ApiModelProperty("球员赛季总进球数")
    private Double totalGoal;

    @ApiModelProperty("球员赛季总助攻数")
    private Double totalAssist;

    @ApiModelProperty("球员赛季总射门数")
    private Double totalShoot;

    @ApiModelProperty("球员赛季总射正数")
    private Double totalOntarget;

    @ApiModelProperty("球员赛季总传球数")
    private Double totalPass;

    @ApiModelProperty("球员赛季总传球成功数")
    private Double totalOkpass;

    @ApiModelProperty("球员赛季尝试过人数")
    private Double totalSurpass;

    @ApiModelProperty("球员赛季成功过人数")
    private Double totalOksurpass;

    @ApiModelProperty("球员赛季抢断数")
    private Double totalPreemption;

    @ApiModelProperty("球员赛季越位数")
    private Double totalOffside;

    @ApiModelProperty("球员赛季总犯规数")
    private Double totalFoul;

    @ApiModelProperty("球员赛季被犯规数")
    private Double totalBefouled;

    @ApiModelProperty("球员赛季总黄牌数")
    private Double totalYcard;

    @ApiModelProperty("球员赛季总红牌数")
    private Double totalRcard;

    @ApiModelProperty("球员id 外键")
    private Integer playerId;

    @ApiModelProperty("球队id 外键")
    private Integer teamId;

    @ApiModelProperty("联赛id 外键")
    private Integer leagueId;

    @ApiModelProperty("联赛赛季")
    private String leagueSeason;

    @TableField(exist = false)
    private Double averageGoal;//场均进球数

    @TableField(exist = false)
    private Double averageAssist;//场均助攻数

    @TableField(exist = false)
    private Double averageShoot;//场均射门数

    @TableField(exist = false)
    private Double averageOntarget;//场均射正数

    @TableField(exist = false)
    private Double averagePass;//场均传球数

    @TableField(exist = false)
    private Double averageOkpass;//场均成功传球数

    @TableField(exist = false)
    private Double averageSurpass;//场均尝试过人数

    @TableField(exist = false)
    private Double averageOksurpass;//场均成功过人数

    @TableField(exist = false)
    private Double averagePreemption;//场均抢断数

    @TableField(exist = false)
    private Double averageOffside;//场均越位数

    @TableField(exist = false)
    private Double averageFoul;//场均犯规数

    @TableField(exist = false)
    private Double averageBefouled;//场均被犯规数

    @TableField(exist = false)
    private Double averageYcard;//场均黄牌数

    @TableField(exist = false)
    private Double averageRcard;//场均红牌数

    @TableField(exist = false)
    private Player player;//球员信息

    @TableField(exist = false)
    private Team team; // 球队信息

    @TableField(exist = false)
    private League league; // 联赛信息


}
